[INFO] fetching crate rash-shell 0.2.0...
[INFO] checking rash-shell-0.2.0 against master#4eb62535fc12dd1a63fd43a4173e224e79313c4d for pr-158816
[INFO] extracting crate rash-shell 0.2.0 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate rash-shell 0.2.0
[INFO] finished tweaking crates.io crate rash-shell 0.2.0
[INFO] tweaked toml for crates.io crate rash-shell 0.2.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rash-shell 0.2.0 on toolchain 4eb62535fc12dd1a63fd43a4173e224e79313c4d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rash-shell 0.2.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fs2 v0.4.3
[INFO] [stderr]   Downloaded utf8parse v0.2.0
[INFO] [stderr]   Downloaded smallvec v1.6.1
[INFO] [stderr]   Downloaded redox_users v0.4.0
[INFO] [stderr]   Downloaded dirs-next v2.0.0
[INFO] [stderr]   Downloaded diff v0.1.12
[INFO] [stderr]   Downloaded ascii-canvas v2.0.0
[INFO] [stderr]   Downloaded redox_syscall v0.2.6
[INFO] [stderr]   Downloaded getrandom v0.2.2
[INFO] [stderr]   Downloaded ena v0.14.0
[INFO] [stderr]   Downloaded fixedbitset v0.2.0
[INFO] [stderr]   Downloaded siphasher v0.3.5
[INFO] [stderr]   Downloaded lalrpop-util v0.19.5
[INFO] [stderr]   Downloaded pico-args v0.4.0
[INFO] [stderr]   Downloaded string_cache v0.8.1
[INFO] [stderr]   Downloaded rustyline v8.0.0
[INFO] [stderr]   Downloaded indexmap v1.6.2
[INFO] [stderr]   Downloaded hashbrown v0.9.1
[INFO] [stderr]   Downloaded itertools v0.10.0
[INFO] [stderr]   Downloaded petgraph v0.5.1
[INFO] [stderr]   Downloaded nix v0.20.0
[INFO] [stderr]   Downloaded lalrpop v0.19.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c4c2a18b7ce675f5d229ff88671d2e50e7118411106fb4dabe0029970f4222e3
[INFO] running `Command { std: "docker" "start" "c4c2a18b7ce675f5d229ff88671d2e50e7118411106fb4dabe0029970f4222e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c4c2a18b7ce675f5d229ff88671d2e50e7118411106fb4dabe0029970f4222e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c4c2a18b7ce675f5d229ff88671d2e50e7118411106fb4dabe0029970f4222e3" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c4c2a18b7ce675f5d229ff88671d2e50e7118411106fb4dabe0029970f4222e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c4c2a18b7ce675f5d229ff88671d2e50e7118411106fb4dabe0029970f4222e3" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.93
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling siphasher v0.3.5
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling regex-syntax v0.6.23
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.4
[INFO] [stderr]    Compiling fixedbitset v0.2.0
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling string_cache v0.8.1
[INFO] [stderr]     Checking smallvec v1.6.1
[INFO] [stderr]    Compiling itertools v0.10.0
[INFO] [stderr]    Compiling pico-args v0.4.0
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]    Compiling bit-set v0.5.2
[INFO] [stderr]    Compiling ena v0.14.0
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling diff v0.1.12
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking endian-type v0.1.2
[INFO] [stderr]     Checking utf8parse v0.2.0
[INFO] [stderr]     Checking unicode-segmentation v1.7.1
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking nibble_vec v0.1.0
[INFO] [stderr]     Checking radix_trie v0.2.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking dirs-sys-next v0.1.2
[INFO] [stderr]     Checking fs2 v0.4.3
[INFO] [stderr]     Checking nix v0.20.0
[INFO] [stderr]    Compiling dirs v1.0.5
[INFO] [stderr]     Checking dirs-next v2.0.0
[INFO] [stderr]    Compiling term v0.5.2
[INFO] [stderr]    Compiling petgraph v0.5.1
[INFO] [stderr]    Compiling ascii-canvas v2.0.0
[INFO] [stderr]     Checking regex v1.4.5
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking lalrpop-util v0.19.5
[INFO] [stderr]     Checking pretty_env_logger v0.4.0
[INFO] [stderr]    Compiling lalrpop v0.19.5
[INFO] [stderr]     Checking rustyline v8.0.0
[INFO] [stderr]    Compiling rash-shell v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/exec.rs:56:16
[INFO] [stdout]    |
[INFO] [stdout] 56 |             if let Err(e) = exec(context, cmd, args, env) {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout]    = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/exec.rs:93:20
[INFO] [stdout]    |
[INFO] [stdout] 93 |                 if let Err(e) = try_exec(&filepath(path, filename), args, &exported) {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/exec.rs:103:20
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 if let Err(e) = try_exec(&filepath(path_buf, filename), args, &exported) {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/exec.rs:56:16
[INFO] [stdout]    |
[INFO] [stdout] 56 |             if let Err(e) = exec(context, cmd, args, env) {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout]    = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/exec.rs:93:20
[INFO] [stdout]    |
[INFO] [stdout] 93 |                 if let Err(e) = try_exec(&filepath(path, filename), args, &exported) {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/exec.rs:103:20
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 if let Err(e) = try_exec(&filepath(path_buf, filename), args, &exported) {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `into_raw_fd` that must be used
[INFO] [stdout]   --> src/context.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             stdout.into_raw_fd();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: losing the raw file descriptor may leak resources
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 45 |             let _ = stdout.into_raw_fd();
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `into_raw_fd` that must be used
[INFO] [stdout]   --> src/context.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |             stderr.into_raw_fd();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: losing the raw file descriptor may leak resources
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 54 |             let _ = stderr.into_raw_fd();
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `into_raw_fd` that must be used
[INFO] [stdout]   --> src/context.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             stdout.into_raw_fd();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: losing the raw file descriptor may leak resources
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 45 |             let _ = stdout.into_raw_fd();
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `into_raw_fd` that must be used
[INFO] [stdout]   --> src/context.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |             stderr.into_raw_fd();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: losing the raw file descriptor may leak resources
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 54 |             let _ = stderr.into_raw_fd();
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.62s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.5
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "c4c2a18b7ce675f5d229ff88671d2e50e7118411106fb4dabe0029970f4222e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4c2a18b7ce675f5d229ff88671d2e50e7118411106fb4dabe0029970f4222e3", kill_on_drop: false }`
[INFO] [stdout] c4c2a18b7ce675f5d229ff88671d2e50e7118411106fb4dabe0029970f4222e3
